﻿<UserControl x:Class="urBook.Gui.ConfigurationDialog"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:local="clr-namespace:urBook.Gui" Foreground="{StaticResource ForegroundBrushKey}">
    <Grid Margin="16" Width="578" Height="368" >
        <WrapPanel x:Name="Navigation" Background="{StaticResource BackgroundBrushKey}" Orientation="Horizontal" VerticalAlignment="Top" Margin="0" HorizontalAlignment="Stretch">
            <TextBlock x:Name="Basic" Text="Basic Information" Margin="16" FontFamily="Lucida Sans" Foreground="{StaticResource ForegroundBrushKey}" FontWeight="Bold" FontSize="16"/>
            <TextBlock Text=">>" Margin="16" FontFamily="Lucida Sans" Foreground="Black" FontSize="16"/>
            <TextBlock x:Name="Data" Text="Personal Data" Margin="16" FontFamily="Lucida Sans" Foreground="{StaticResource ForegroundBrushKey}" FontSize="16"/>
            <TextBlock Text=">>" Margin="16" FontFamily="Lucida Sans" Foreground="Black" FontSize="16"/>
            <TextBlock x:Name="Summary" Text="Finish"  Margin="16" FontFamily="Lucida Sans" Foreground="{StaticResource ForegroundBrushKey}" FontSize="16"/>
        </WrapPanel>
        <Grid x:Name="BasicInfo" VerticalAlignment="Center" Margin="0" Visibility="Visible">
            <TextBlock Margin="16" VerticalAlignment="Top" FontFamily="Lucida Bright" FontSize="16" TextWrapping="Wrap">
                Welcome to Address Book, please spend with us a few minutes to configure your profile.
            </TextBlock>
            <Image x:Name="image" Source="data/images/unknown.png" Width="64" Height="64" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="52,60,0,0" MouseLeftButtonDown="image_MouseDown"/>
            <TextBlock x:Name="Name" Text="Name: " Margin="125,68,0,0" HorizontalAlignment="Left" FontSize="16" VerticalAlignment="Top" />
            <TextBox x:Name="title" ToolTip="Title" Margin="179,68,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Width="40" Foreground="#FF555555" MouseDown="TextBox_MouseClick" Text="Title" TextChanged="TextBox_TextChanged" />
            <TextBox x:Name="firstName" ToolTip="First" Margin="229,68,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Width="142" Foreground="#FF555555" MouseDown="TextBox_MouseClick" Text="First Name" TextChanged="TextBox_TextChanged" />
            <TextBox x:Name="lastName" ToolTip="Last" Margin="377,68,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Width="140" Foreground="#FF555555" MouseDown="TextBox_MouseClick" Text="Last Name" TextChanged="TextBox_TextChanged" />
            <TextBlock Text="Company: " Margin="125,95,0,0" FontSize="16" HorizontalAlignment="Left" VerticalAlignment="Top"/>
            <TextBox x:Name="company" ToolTip="Company" Margin="206,96,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Width="100" Foreground="#FF555555" MouseDown="TextBox_MouseClick" Text="Company Name" TextChanged="TextBox_TextChanged" />
            <TextBlock Text="Url: " Margin="312,95,0,0" FontSize="16" HorizontalAlignment="Left" VerticalAlignment="Top"/>
            <TextBox x:Name="url" ToolTip="Website URL" Margin="339,95,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Width="179" Foreground="#FF555555" MouseDown="TextBox_MouseClick" Text="Personal Url" TextChanged="TextBox_TextChanged" />
            <TextBlock Text="Home Address: " Margin="52,135,0,0" FontSize="16" HorizontalAlignment="Left" VerticalAlignment="Top"/>
            <TextBlock Text="Work Address: " Margin="52,199,0,0" FontSize="16" HorizontalAlignment="Left" VerticalAlignment="Top"/>
            <TextBox HorizontalAlignment="Left" Margin="170,136,0,0" Name="homeStreet" ToolTip="Street" VerticalAlignment="Top" Width="348" Foreground="#FF555555" MouseDown="TextBox_MouseClick" Text="Street, Number" TextChanged="TextBox_TextChanged" />
            <TextBox HorizontalAlignment="Left" Margin="52,162,0,0" Name="homeCity" ToolTip="City" VerticalAlignment="Top" Width="112" Foreground="#FF555555" MouseDown="TextBox_MouseClick" Text="City" TextChanged="TextBox_TextChanged" />
            <TextBox HorizontalAlignment="Left" Margin="170,162,0,0" Name="homeState" ToolTip="State" VerticalAlignment="Top" Width="124" Foreground="#FF555555" MouseDown="TextBox_MouseClick" Text="State" TextChanged="TextBox_TextChanged" />
            <TextBox HorizontalAlignment="Left" Margin="300,162,0,0" Name="homeZip" ToolTip="Zip" VerticalAlignment="Top" Width="100" Foreground="#FF555555" MouseDown="TextBox_MouseClick" Text="Postal Code" TextChanged="TextBox_TextChanged" />
            <ComboBox HorizontalAlignment="Left" Margin="406,162,0,0" Name="homeCountry" ToolTip="Country" VerticalAlignment="Top" Width="112" Text="Country" SelectedIndex="0" />
            <TextBox HorizontalAlignment="Left" Margin="170,199,0,0" Name="workStreet" ToolTip="Street" VerticalAlignment="Top" Width="348" Foreground="#FF555555" MouseDown="TextBox_MouseClick" Text="Street, Number" TextChanged="TextBox_TextChanged" />
            <TextBox HorizontalAlignment="Left" Margin="52,225,0,0" Name="workCity" ToolTip="City" VerticalAlignment="Top" Width="112" Foreground="#FF555555" MouseDown="TextBox_MouseClick" Text="City" TextChanged="TextBox_TextChanged" />
            <TextBox HorizontalAlignment="Left" Margin="170,225,0,0" Name="workState" ToolTip="State" VerticalAlignment="Top" Width="124" Foreground="#FF555555" MouseDown="TextBox_MouseClick" Text="State" TextChanged="TextBox_TextChanged" />
            <TextBox HorizontalAlignment="Left" Margin="300,225,0,0" Name="workZip" ToolTip="Zip" VerticalAlignment="Top" Width="100" Foreground="#FF555555" MouseDown="TextBox_MouseClick" Text="Postal Code" TextChanged="TextBox_TextChanged" />
            <ComboBox HorizontalAlignment="Left" Margin="406,225,0,0" Name="workCountry" ToolTip="Country" VerticalAlignment="Top" Width="112" Text="Country" SelectedIndex="0" />
        </Grid>
        <Grid Background="{StaticResource BackgroundBrushKey}" Margin="0" VerticalAlignment="Bottom">
            <Button x:Name="Next" Content="Next" VerticalAlignment="Bottom" HorizontalAlignment="Right" Width="128" Height="32" FontSize="16" VerticalContentAlignment="Center" Margin="16,8" Click="Next_Click" />
            <Button x:Name="Back" Content="Back" FontSize="16" Height="32" HorizontalAlignment="Right" Margin="160,8" VerticalAlignment="Bottom" VerticalContentAlignment="Center" Width="128" Visibility="Collapsed" Click="Back_Click" />
        </Grid>
        
        <Grid x:Name="Communication" Visibility="Collapsed" VerticalAlignment="Center" Margin="0" >
            <TextBlock x:Name="Phone" Text="Phones: " Margin="16,16,0,0" HorizontalAlignment="Left" FontSize="16" VerticalAlignment="Top" />
            <ListBox x:Name="phones" Height="100" HorizontalAlignment="Stretch" HorizontalContentAlignment="Stretch" Margin="78,20,61,135" MinHeight="40" Padding="0" VerticalAlignment="Center" VerticalContentAlignment="Center" />
            <TextBlock x:Name="Email" Text="Emails: " Margin="16,128,0,0" HorizontalAlignment="Left" FontSize="16" VerticalAlignment="Top" />
            <ListBox x:Name="emails" HorizontalAlignment="Stretch" HorizontalContentAlignment="Stretch" Margin="78,128,61,28" MinHeight="40" Padding="0" VerticalAlignment="Center" VerticalContentAlignment="Center" Height="100" />
            <Button Content="Add" HorizontalAlignment="Right" Margin="0,16,16,203" MaxHeight="32" Name="AddPhone" Padding="4" VerticalAlignment="Center" Click="AddPhone_Click" />
            <Button Content="Add" HorizontalAlignment="Right" Margin="0,128,16,99" MaxHeight="32" Name="AddEmail" Padding="4" VerticalAlignment="Center" Click="AddEmail_Click" />
        </Grid>
        <Grid x:Name="Finish" Visibility="Collapsed" VerticalAlignment="Center" Margin="0" >
            <TextBlock HorizontalAlignment="Stretch" Margin="8" Name="textBlock1" Text="Congratulations! You are done with creating your profile, you can now access your Address Book." VerticalAlignment="Top" FontSize="16" TextWrapping="Wrap" />
            <Button Content="Take a tour" Margin="8,64,8,8" HorizontalAlignment="Left" VerticalAlignment="Bottom" Height="32" Width="128" Click="Tour_Click" />
            <Button Content="Import Contacts" Margin="8,64,8,8" HorizontalAlignment="Right" VerticalAlignment="Bottom" Height="32" Width="128" Click="Import_Click" />
        </Grid>
        
    </Grid>
</UserControl>
